package com.mb.app.service;

import com.baomidou.mybatisplus.service.IService;
import com.mb.app.domain.TbAppInfo;
import com.mb.app.domain.TbChannelConfig;
import com.mb.app.domain.TbUserInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author liliping
 * @since 2019-03-21
 */
public interface ITbUserInfoService extends IService<TbUserInfo> {
    /**
     * 分页查询
     * @param map
     * @return
     */
    public List<TbUserInfo> queryList(Map<String, Object> map);

    public int count(Map<String, Object> map);

    public int remove(Long userid);

    public int status(Long userid,Integer userstatus);

    /**
     * 分页查询，根据登录人
     * @param map
     * @return
     */
    public List<TbUserInfo> queryListChannel(Map<String, Object> map);

    public int countChannel(Map<String, Object> map);

    public TbUserInfo getDtl(Long userId);
}
